import { Component } from 'react';
import './App.less';

import Hello from './components/Hello';
import Swiper from 'swiper';

export default class App extends Component {
  constructor(props) {
    super(props)
    console.log("App  constructor  1 ");
    this.state = {
      Name: names,
    }
  }


  componentWillMount() {
    console.log("App  componentWillMount  2" )
  }
  render() {
    console.log("App  render   3")
    return (
      <div>
        <Hello />
        
      </div>
    )
  }

  componentDidMount() {
    console.log("App  componentDidMount  4")
  }
}

const names = "baobao"
// export default function App() {
//   return (
//     <div className="App">
     
//     </div>
//   );
// }

